package Day21;
/*
继承的本质
 */
public class Text1 {
    public static void main(String[] args) {
        Person p1 = new Person("小周",23);
        Student s1 = new Student("小玉",23,"01",99);
        System.out.println(p1.say());
        System.out.println(s1.say());


    }
}
